import React, { Component, Fragment } from 'react'
import { render } from 'react-dom'

import '../css/style.less'

import Form from './Form'

class App extends Component {
    handleSubmit = () => {
        document.getElementById('form').submit()
    }

    render() {
        return (
            <Fragment>
                <div className="form-box">
                    <Form />
                </div>
                <div className="pic-list"></div>
            </Fragment>
        )
    }
}

const el = document.getElementById('app')
el.className = 'collection'

render(
    <App />,
    el
)